draw2d.Start=function(){
draw2d.ImageFigure.call(this,this.type+".png");
this.outputPort=null;
this.setDimension(50,50);
};
draw2d.Start.prototype=new draw2d.ImageFigure();
draw2d.Start.prototype.type="Start";
draw2d.Start.prototype.setWorkflow=function(_27e6){
draw2d.ImageFigure.prototype.setWorkflow.call(this,_27e6);
if(_27e6!==null&&this.outputPort===null){
this.outputPort1=new draw2d.MyOutputPort();
this.outputPort1.setWorkflow(_27e6);
this.outputPort1.setMaxFanOut(4);
this.outputPort1.setBackgroundColor(new draw2d.Color(245,115,115));
this.outputPort1.setName("output1");
this.addPort(this.outputPort1,this.width,this.height/2);
this.outputPort2=new draw2d.MyOutputPort();
this.outputPort2.setWorkflow(_27e6);
this.outputPort2.setMaxFanOut(4);
this.outputPort2.setBackgroundColor(new draw2d.Color(245,115,115));
this.outputPort2.setName("output2");
this.addPort(this.outputPort2,this.width/2,0);
this.inputPort3=new draw2d.MyInputPort();
this.inputPort3.setWorkflow(_27e6);
this.inputPort3.setBackgroundColor(new draw2d.Color(115,115,245));
this.inputPort3.setColor(null);
this.inputPort3.setName("input3");
this.addPort(this.inputPort3,this.width/2,this.height);
this.inputPort4=new draw2d.MyInputPort();
this.inputPort4.setWorkflow(_27e6);
this.inputPort4.setBackgroundColor(new draw2d.Color(115,115,245));
this.inputPort4.setColor(null);
this.inputPort4.setName("input4");
this.addPort(this.inputPort4,0,this.height/2);
}
};
